package basic;

public class J01_Subject {

	public static void main(String[] args) {
		//1.변수선언 및 초기화
		String snum;
		String sname;
		String sloc;
		String spro;
		
		String snum1;
		String sname1;
		String sloc1;
		String spro1;
		
		String snum2;
		String sname2;
		String sloc2;
		String spro2;
		
		String snum3;
		String sname3;
		String sloc3;
		String spro3;
		
		snum="0205";
		sname="프로그래밍";
		sloc="자바 프로그래밍";
		spro="301";
		
		snum1="0211";
		sname1="드레스코드";
		sloc1="옷 입기의 기초";
		spro1="445";
		
		snum2="5029";
		sname2="생활의 참견";
		sloc2="음식의 영양";
		spro2="556";
		
		snum3="4111";
		sname3="악마의 사도";
		sloc3="종교와 철학, 과학의 얽힘";
		spro3="504";
		
		//2.처리
		//3.결과출력
		System.out.println("--------------------------------------------------------");
		System.out.println("과목번호"+"\t"+"과목명"+"\t\t"+"과목개요"+"\t\t\t"+"담당교수");
		System.out.println("--------------------------------------------------------");
		System.out.print(snum);
		System.out.print("\t"+sname);
		System.out.print("\t\t"+sloc);
		System.out.println("\t\t"+spro);
		System.out.print(snum1);
		System.out.print("\t"+sname1);
		System.out.print("\t\t"+sloc1);
		System.out.println("\t\t"+spro1);
		System.out.print(snum2);
		System.out.print("\t"+sname2);
		System.out.print("\t\t"+sloc2);
		System.out.println("\t\t\t"+spro2);
		System.out.print(snum3);
		System.out.print("\t"+sname3);
		System.out.print("\t\t"+sloc3);
		System.out.println("\t"+spro3);
		System.out.println("--------------------------------------------------------");
	}

}
